package com.data.center.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-01-15 03:59:17
 */
@Getter
@Setter
@TableName("nominator")
@ApiModel(value = "Nominator对象", description = "")
public class Nominator implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("活动ID")
    @MppMultiId("event_id")
    private String eventId;

    @ApiModelProperty("提名渠道ID")
    @MppMultiId("nominator_id")
    private String nominatorId;

    @ApiModelProperty("推荐码")
    @TableField("referral_code")
    private String referralCode;

    @ApiModelProperty("联系人")
    @TableField("contact")
    private String contact;

    @ApiModelProperty("名额规则。规则项 := (活动ID1, 活动ID2, …, 活动IDm, N)；	规则 := (规则项1, 规则项2, …, 规则项k)。")
    @TableField("quota_rule")
    private String quotaRule;


}
